<!doctype html>
<html>
<head>
    <meta name="layout" content="main_index">
    <style>
        li{
            list-style-type: none;
        }
    </style>
</head>
<body class="easyui-layout" >
    <div region="west" style="width:150px;padding:10px 5px;"  class="tree-lines">
        <ul class="easyui-tree tree-root-one">
            <li>
                <span>系统管理</span>
                <ul>
                    <sec:ifAnyGranted roles="ROLE_ADMIN">
                        <li><a target="sysIframe" href="${createLink(uri: '/user')}">用户管理</a></li>
                    </sec:ifAnyGranted>
                    <sec:ifAnyGranted roles="ROLE_ADMIN">
                        <li><a target="sysIframe" href="${createLink(uri: '/department')}">部门管理</a></li>
                    </sec:ifAnyGranted>
                    <sec:ifAnyGranted roles="ROLE_ADMIN">
                        <li><a target="sysIframe" href="${createLink(uri: '/role')}">角色管理</a></li>
                    </sec:ifAnyGranted>
                    <sec:ifAnyGranted roles="ROLE_ADMIN">
                        <li><a target="sysIframe" href="${createLink(uri: '/requestmap')}">模块列表</a></li>
                    </sec:ifAnyGranted>
                </ul>
            </li>
        </ul>
    </div>
    <div id="content" region="center" style="padding:5px;border-left-width: 0;">
        <iframe style="width:100%;height:100%;" src="${createLink(uri: '/user')}" border="0" frameborder="0" marginheight="0" marginwidth="0" id="sysIframe" name="sysIframe"></iframe>
    </div>
</body>
</html>